import plotly.express as px

# 显示能渐变的颜色列表
for key in px.colors.named_colorscales():
    print(key)